package zhuyun.code.horizontalscrollview

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.ListView
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        val listViewAdapter1 = ListViewAdapter(this,"listView1")
        val listViewAdapter2 = ListViewAdapter(this,"listView2")
        val listViewAdapter3 = ListViewAdapter(this,"listView3")
        listViewOne.adapter = listViewAdapter1
        listViewTwo.adapter = listViewAdapter2
        listViewThree.adapter = listViewAdapter3

    }
}
